<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<jsp:include page="/static/common/common_header.jsp"/>
<script type="text/javascript" src="/static/js/department.js"></script>
<style>
    tr {
        color: rgba(10, 10, 10, 0.64);
        font-size: 12px;
        font-style: normal;
    }
</style>
</head>
<body>
<table id="department_datagrid"></table>
<!--工具栏-->
<div id="tb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">添加</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" data-cmd="changeState">停用</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
</div>
<div id="department_dialog">
    <form id="department_form" method="post">
        <input type="hidden" name="id"/>
        <table align="center" style="margin-top:15px">
            <tr>
                <td width="20px"></td>
                <td>部门编号:</td>
                <td>
                    <input type="easyui-textbox" name="sn"/>
                </td>
            </tr>
            <tr>
                <td width="20px"></td>
                <td>部门名称:</td>
                <td>
                    <input class="easyui-textbox" name="name"/>
                </td>
            </tr>
            <%--     <tr>
                        <td width="20px"></td>
                        <td>上级部门:</td>
                        <td>
                            <input name="parent.id" id="department-combotree" style="width:143px;"
                                   data-options="valueField:'id',textField:'name',panelHeight:'100'"/>
                        </td>
                    </tr>
                    <tr>
                        <td width="20px"></td>
                        <td>部门经理:</td>
                        <td>
                            <input id="department_combogrid" name="manager.id" style="width:143px;"
                                   data-options="idField:'id',textField:'realname'"/>
                        </td>
                    </tr>--%>
        </table>
    </form>
</div>
<!--底部按钮-->
<div id="bb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok',plain:true" data-cmd="save">保存</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
</div>
</body>
</html>